package com.youlai.boot.gym.model.form;

import java.io.Serial;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.validation.constraints.*;

/**
 * 课程类型表单对象
 *
 * @author hxc
 * @since 2025-06-01 10:41
 */
@Getter
@Setter
@Schema(description = "课程类型表单对象")
public class ClassTypesForm implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "课程类型名称")
    @NotBlank(message = "课程类型名称不能为空")
    @Size(max=50, message="课程类型名称长度不能超过50个字符")
    private String typeName;

    @Schema(description = "课程描述")
    @Size(max=65535, message="课程描述长度不能超过65535个字符")
    private String description;


}
